home *** CD-ROM | disk | FTP | other *** search
/ Aminet 8 / Aminet 8 (1995)(GTI - Schatztruhe)[!][Oct 1995].iso / Aminet / util / misc / find361.readme < prev    next >
Text File  |  1995-09-20  |  2KB  |  51 lines

  1. Short:    Locate/process files. Small & powerful!
  2. Author:   zodiac@darkness.gun.de (Ralph Seichter)
  3. Uploader: bfe@informatik.uni-bonn.de
  4. Type:     util/misc
  5.  
  6.    I wrote 'find' because I needed a tool to find files (obviously :) which
  7. match a given name pattern. 'find' is able to search multiple directories,
  8. including all subdirectories, the current directory and its subdirs, or the
  9. current CLI command path only. The output can be formatted in a way which
  10. tries to imitate 'List LFORMAT' behaviour, and you can make 'find' create
  11. shell scripts for you and execute them on the fly.
  12.  
  13.    Please note that 'find' is pure, you can make it resident. As it is less
  14. than 3 KB in size, this is recommended. Requires 'dos.library' V36 (OS 2.0)
  15. or better.
  16.  
  17. [...]
  18.  
  19. USAGE EXAMPLES
  20.  
  21.    Locate all C source files on partition DH1:
  22.    -> find #?.c dh1:
  23.  
  24.    Find all Icons in the current directory and all its subdirs, but
  25.    don't display the ".info" suffix.
  26.    -> find #?.info lformat %m
  27.  
  28.    Get rid of all files with the prefix "foo" on some partitions, but
  29.    don't go deeper than three subdirectory levels while scanning.
  30.    -> find foo#? sys: dh2: bozo: depth=3 lformat="delete %p%n" exec
  31.  
  32.    Find 'Type' in the command path.
  33.    -> find Type path
  34.  
  35.    Find all occurences of 'bar' in the command path.
  36.    -> find bar full
  37.  
  38.    I hope that these few examples show some of the potential of 'find'. The
  39. possibility to create shell scripts and have them executed without further
  40. interaction is certainly very useful for many tasks.
  41.  
  42.  
  43. ============================= Archive contents =============================
  44.  
  45. Original  Packed Ratio    Date     Time    Name
  46. -------- ------- ----- --------- --------  -------------
  47.     2088    1426 31.7% 19-Jul-95 19:57:52  find
  48.     7597    4705 38.0% 19-Jul-95 20:01:18  find.doc
  49. -------- ------- ----- --------- --------
  50.     9685    6131 36.6% 20-Jul-95 19:45:34   2 files
  51.